<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    [class^="col"]{
        background-color: #AA00FF;
    }
    .row div{
        border: 1px solid #AA00FF;
    }
</style>
<link rel="stylesheet" href="./bootstrap-3.4.1-dist/css/bootstrap.min.css">
<body>
    <!-- 栅格系统的左右偏移 -->
    <div class="container">
        <div class="row">
            <div class="col-md-4">1</div>
            <!-- 第二个盒子向右移动了4个单位 -->
            <div class="col-md-4 col-md-offset-4">2</div>
        </div>


        <!-- 列排序 :让左右两边的盒子交换顺序 ，右侧拉到左边来，左边推到右边去 -->
        <div class="row">
            <div class="col-md-4 col-md-push-6 " >左侧</div>
            <div class="col-md-6  col-md-pull-4 ">右侧</div>
        </div>
    </div>
    <script src="./jquery-1.9.1.js"></script>
    <script src="./bootstrap-3.4.1-dist/js/bootstrap.min.js"></script>
</body>
</html>